lcBlockAddEcw Home

Adds a new ecw image object into a block. The position and size of the image will be set automatically, using the geospatial information embedded in the image.

 HANDLE lcBlockAddEcw (
   HANDLE hBlock,
   LPCWSTR szFileName
 );

Parameters
hBlock
  Handle to a block.
szFileName
  Image filename. Supported formats are Enhanced Compression Wavelet (*.ecw) and JPEG 2000 (*.jp2).

Return Value

  Handle to created ecw image object or NULL if the function fails.